package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 党员发展文件对象 user_party_files
 * 
 * @author ruoyi
 * @date 2024-07-25
 */
public class UserPartyFiles extends BaseEntity
{
    private static final long serialVersionUID = 1L;

   /** 文件记录ID */
    private Long recordId;
    
    /** 用户ID */
    private Long userId;

    /** 文件名 */
    @Excel(name = "文件名")
    private String fileName;

    /** 落款时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "落款时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date signatureTime;

    /** 上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;

    /** 文件路径 */
    @Excel(name = "文件路径")
    private String filePath;

    /** 所属阶段 */
    @Excel(name = "所属阶段")
    private String stage;
    
    /** 所属阶段 */
    @Excel(name = "所属阶段")
    private String[] stages;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Integer checkStatus;
    

    public Long getRecordId() {
		return recordId;
	}

	public void setRecordId(Long recordId) {
		this.recordId = recordId;
	}

	public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setSignatureTime(Date signatureTime) 
    {
        this.signatureTime = signatureTime;
    }

    public Date getSignatureTime() 
    {
        return signatureTime;
    }
    public void setUploadTime(Date uploadTime) 
    {
        this.uploadTime = uploadTime;
    }

    public Date getUploadTime() 
    {
        return uploadTime;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }
    public void setStage(String stage) 
    {
        this.stage = stage;
    }

    public String getStage() 
    {
        return stage;
    }
    
    public String[] getStages() {
		return stages;
	}

	public void setStages(String[] stages) {
		this.stages = stages;
	}

	public void setCheckStatus(Integer checkStatus) 
    {
        this.checkStatus = checkStatus;
    }

    public Integer getCheckStatus() 
    {
        return checkStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("fileName", getFileName())
            .append("signatureTime", getSignatureTime())
            .append("uploadTime", getUploadTime())
            .append("filePath", getFilePath())
            .append("stage", getStage())
            .append("checkStatus", getCheckStatus())
            .toString();
    }
}
